import Vue from 'vue'
import Vuex from 'vuex'
import * as getters from './getters'
import * as actions from './actions'
import * as mutations from './mutations'

Vue.use(Vuex)

const state={
    msg:'',
}

// const moudleA={
//     state,
//     mutations,
//     getters,
//     actions
// }

const store =new Vuex.Store ({
    state,
    getters,
    actions,
    mutations
    // modules:{a:moudleA}
})

export default store
